fix(sa): Add visibility checks and waits to alerts row button acknowl… - #2101
fix(sa): Add visibility checks and waits to alerts row button acknowl…#2101yashgupte21 wants to merge 1 commit into
Conversation
…edge test
The 'can be acknowledged via row button' test fails because the Status
filter popover is not ready when the test interacts with it. Added
.should('be.visible') assertions and short waits to ensure the popover
renders before clicking filter options.
Signed-off-by: YashPradeep Gupte <yashprg@amazon.com>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
…edge test
The 'can be acknowledged via row button' test fails because the Status filter popover is not ready when the test interacts with it. Added .should('be.visible') assertions and short waits to ensure the popover renders before clicking filter options.
Description
Fix flaky "can be acknowledged via row button" test in 3_alerts.spec.js. The Status filter popover wasn't ready when the test interacted with it. Added .should('be.visible') assertions and short waits to ensure the popover renders before clicking filter options.
Issues Resolved
Resolves consistent failure of
can be acknowledged via row buttontest .Test:
Ran against OS_2.11 domain
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.